package com.me.jingdongshop.presenter;

import com.me.common.base.BaseView;

/**
 * Created by Tm on 2017/5/5.
 */

public class DiscoverFragmentPresenter extends BasePresenter{


    public DiscoverFragmentPresenter(BaseView baseView) {
        super(baseView);
    }
    //获取列表数据
    public void getBrandData(){
        //接口回调（P层通过Model获取到数据后，会通过回调把数据返回到View）
        mProtocol.getBrandData(mBaseCallback);
    }

    //获取轮播图数据
    public void getBannerDatats(){

        mProtocol.getHomeData(mBaseCallback);
    }


}
